package com.cc.dao;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository
public class MyDao {

    @Value("${name}")
    private String name;

    @Value("${age}")
    private String age;

    @Value("${data}")
    private String date;

    @Value("${address}")
    private String address;

    public void ShowMyDao(){
        System.out.println(name + "----------" + age + "------------" + date + "---------" + address);
    }
}
